// 延时器组件
export const SetTime = (time:number)=>{
     return new Promise((resolve, reject) =>{
            setTimeout(()=>{
                resolve(undefined);
            },time);
     });
};